<template>
	<form class="login" @submit.prevent="submit">
		<div class="slogan"></div>
		<div class="form-group">
			<input type="text" class="form-control" placeholder="用户名" v-model="email">
		</div>
		<div class="form-group">
			<input type="password" class="form-control" placeholder="密码" v-model="password">
		</div>
		<div class="form-group">
			<div class="input-group">
				<input type="text" class="form-control" placeholder="手机验证码" v-model="smscode">
				<span class="input-group-btn">
	        <button class="btn btn-default" v-on:click="sendSms" v-el:btn-send-sms>发送验证码</button>
	      </span>
			</div>
		</div>
		<button class="btn btn-primary btn-block" v-on:click="submit">登陆</button>
	</form>
</template>

<style src="./login.css"></style>
<script src="./login.js"></script>
